package com.pig4cloud.mall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pig4cloud.mall.product.entity.Attr;
import com.pig4cloud.mall.product.vo.BaseAttr;
import com.pig4cloud.mall.product.vo.SaleAttr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 *
 * @author fangyu
 * @date 2020-11-25 15:05:14
 */
@Mapper
public interface AttrMapper extends BaseMapper<Attr> {

	List<BaseAttr> queryBaseAttrByCid(@Param("catId") Long catId);

	List<SaleAttr> querySaleAttrByCid(@Param("catId") Long catId);
}
